package cn.shop.admin.service;

import cn.shop.transcation.ipWhitelistModule.entity.IpWhitelist;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * ip 白名单(IpWhitelist)表服务接口
 *
 * @author jzw
 * @since 2022-02-23 11:04:03
 */
public interface IpWhitelistService extends IService<IpWhitelist> {

	/**
	 * 设置白名单
	 *
	 * @param ipList
	 * @return
	 * @author jzw
	 * @since 2022/2/23 11:19
	 */
	boolean insert(List<String> ipList);
	/**

	* 清除数据
	* @author 王鹤然
	* @date 2023/1/30 0030 上午 11:50
	 * @param clearTime
	 * @return boolean
	*/
    boolean clearData(Object clearTime);
}

